<?php

namespace app\models;

use common\models\User;
use Yii;
use yii\base\NotSupportedException;
use yii\behaviors\TimestampBehavior;
use yii\db\ActiveRecord;
use yii\web\IdentityInterface;


/**
* 
*/
class Register extends User
{
	const STATUS_DELETED = 0;
    const STATUS_ACTIVE = 10;
	
	public function rules()
    {
        return [
            
            ['username', 'required','message'=>'用户名必须填写'],
			//['password_hash', 'required','message'=>'密码必须填写'],
            
        ];
    }
}